package com.tx.dao;

import com.tx.entity.User;

import java.util.List;

public interface UserDao {
    User findByAccountAndPassword(String account, String password);
    int add(User user);
    int update(User user);
    int delete(int id);
    List<User> findAll();
    List<User> findByUsername(String username);
}